import request from '../utils/request.js'
export const regApi = data => {
  return request.post('/api/reg', data)
}
export const loginApi = data => {
  return request.post('/api/login', data)
}
export const getUserAPI = () => request.get('/my/userinfo')
